package sis.studentinfo;

import java.util.Date;

public class CourseSession extends Session {

	private static final long serialVersionUID = -4579633565264944519L;
	private static int count;
	
	private static void incrementCount() {
		CourseSession.count++;
	}

	protected CourseSession(Course course, Date startDate) {
		super(course, startDate);
		CourseSession.incrementCount();
	}
	
	public static CourseSession create(Course course, Date startDate) {
		return new CourseSession(course, startDate);
	}
	
	public static void resetCount() {
		CourseSession.count = 0;
	}
	
	protected int getSessionLength() {
		return 16;
	}

	public static Object getCount() {
		return CourseSession.count;
	}
	

	



}
